import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  //关键利率久期概览
  getKrdSummary: (query) => api.post(`${config.interfaces.type3}riskMeasurement/krdSummary`, query),
  //关键利率久期明细
  getKrdDetail: (query) => api.post(`${config.interfaces.type3}riskMeasurement/krdDetail`, query),
};
